package P_2023_03_13_Abstract;

public class AnimalTest {
    public static void main(String[] args) {
        Frog f = new Frog("张三", 2);
        f.eat();
        f.drink();
        System.out.println(f.getName() + ", " + f.getAge());
    }
}
